﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace CashOrCard.Models
{
    public class StarRate
    {
        public int StarRateId { get; set; }
        public float Rate { get; set; }
        public int UserId { get; set; }
        public DateTime RateDate { get; set; }

        [ForeignKey("UserId")]
        public virtual User User { get; set; }

        public virtual ICollection<AdvtSite> AdvtSites { get; set; }
    }
}